package com.example.hxds.bff.driver.service;

import com.example.hxds.bff.driver.controller.form.*;
import com.example.hxds.common.util.PageUtils;
import com.example.hxds.common.util.R;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.HashMap;

/**
 * @Author XUYANG
 * @Date 2024-03-20 19:33
 */
public interface OrderService {
    public String acceptNewOrder(AcceptNewOrderForm form);
    public HashMap searchDriverExecuteOrder(SearchDriverExecuteOrderForm form);
    public HashMap searchDriverCurrentOrder(SearchDriverCurrentOrderForm form);
    public HashMap searchOrderForMoveById(SearchOrderForMoveByIdForm form);
    public int arriveStartPlace(ArriveStartPlaceForm form);
    public int startDriving(StartDrivingForm form);
    public int updateOrderStatus(UpdateOrderStatusForm form);
    public int updateOrderBill(UpdateBillFeeForm form);
    public HashMap searchReviewDriverOrderBill(SearchReviewDriverOrderBillForm form);
    public Integer searchOrderStatus(SearchOrderStatusForm form);
    public String updateOrderAboutPayment(long driverId,UpdateOrderAboutPaymentForm form);
    public PageUtils searchDriverOrderByPage(SearchDriverOrderByPageForm form);
    public HashMap searchOrderById(SearchOrderByIdForm form);
    public String searchCommentIdByOrderId(SearchCommentIdByOrderIdForm form);
}
